package com.top10.bean.alipay;

/**
 * @author sny
 * @Package com.bean
 * @date 2018/11/9
 */
public class AlipayConfig {

          // 1.商户appid
   public static String APPID = "2018110161930892";

   // 2.私钥 pkcs8格式的
  public static String RSA_PRIVATE_KEY ="MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQClpApT7fKrLolKRKBS+XTODeytUNlC8hQkZrqYu84hIu6U2NYkwTb89LjIvSpNRRjIwhuBGG+nTcjVlSQ6JHiGyj1ehfzDp3gdjRG4kcKnigvPYFB1d3aG9e3D9zokkARJuXgamvEeQb17xV+5dVH9UusFRZxeA1w2Mgp+KZJuXdx+85xpvdKa4yyMSuHNBhKG+I0FxNF0olxe9UNrxCGu/+OsgD0ZXmd19EkawRb+u2idRiW2T98nSU/Irqnnjj+79lcrIoARi9VEYSHjPQ2bfNzE8PBr9oGR/2eBIK8OSrr6wQ5V7zz3yGMRZ1Gxxl38aUuEHLVXR/HikU/WOaBTAgMBAAECggEAcyznSYjRDhqjuBKT8F4ozAZ+pdzr1VMCknUkFoOwRvZFMxa7gH8hPy7jNiHiwivjmeTuvwtAx/KcTXcQ46Tscb06gvlj0qAmM1YeFlq0IU8p+x6bk7Jnplxm4baMpVPGx4TBcK6ALmvD18ZcU1aylhUL+nR20CBCBCUzippZiYd4CdzLlsJnvQFi/mzFl4On4qk6sKpNHIrttMc1D7NJiXG72Mwhjq3UGEFby/wdX7IYz64Y3+EbnojviEiD8YpnYQACRHT2BA1fsVt3hyb62eYwP/3UXKjdoxyC9xxjwclIKrRhVXbEwH6gpt0Yw/jq3xG74CdXZlVm/gNSsS6kIQKBgQDTmC/BxdzdX8+Dnt0NiucPopP5laBsBIwt3a9N49/cli6m/1EHQ+XYOJn9C+9qOKmddmTtJvCwKzcij3W3LWDkpgimD44lHJFfbnauHP1xVFvBmiXvaHt9nIZg15vZZnwKDEEw2TAPxToL8vazcaevZcX2m/IgJurc1c8Drb4/KQKBgQDIZwNfB7Sy2t9Y+hqbpCS+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oYPo6YEK88APHENWJSIb6rmVfs1NhlaHhFvwIDAQAB";
      // 4.服务器异步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
 public static String notify_url = "http://112.74.208.66:8999/top10-app/top10/ali/notify_url.action";

 // 5.页面跳转同步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问 商户可以自定义同步跳转地址
  //public static String return_url = "http://www.xxx.com/alipay/return_url.do";

  // 6.请求网关地址
    public static String URL = "https://openapi.alipay.com/gateway.do";

    // 7.编码
   public static String CHARSET = "UTF-8";

   // 8.返回格式
    public static String FORMAT = "json";

    // 9.加密类型
   public static String SIGNTYPE = "RSA2";



    public static String getAPPID() {
        return APPID;
    }

    public static void setAPPID(String APPID) {
        AlipayConfig.APPID = APPID;
    }

    public static String getRsaPrivateKey() {
        return RSA_PRIVATE_KEY;
    }

    public static void setRsaPrivateKey(String rsaPrivateKey) {
        RSA_PRIVATE_KEY = rsaPrivateKey;
    }

    public static String getAlipayPublicKey() {
        return ALIPAY_PUBLIC_KEY;
    }

    public static void setAlipayPublicKey(String alipayPublicKey) {
        ALIPAY_PUBLIC_KEY = alipayPublicKey;
    }

    public static String getNotify_url() {
        return notify_url;
    }

    public static void setNotify_url(String notify_url) {
        AlipayConfig.notify_url = notify_url;
    }
//
//    public static String getReturn_url() {
//        return return_url;
//    }
//
//    public static void setReturn_url(String return_url) {
//        AlipayConfig.return_url = return_url;
//    }

    public static String getURL() {
        return URL;
    }

    public static void setURL(String URL) {
        AlipayConfig.URL = URL;
    }

    public static String getCHARSET() {
        return CHARSET;
    }

    public static void setCHARSET(String CHARSET) {
        AlipayConfig.CHARSET = CHARSET;
    }

    public static String getFORMAT() {
        return FORMAT;
    }

    public static void setFORMAT(String FORMAT) {
        AlipayConfig.FORMAT = FORMAT;
    }

    public static String getSIGNTYPE() {
        return SIGNTYPE;
    }

    public static void setSIGNTYPE(String SIGNTYPE) {
        AlipayConfig.SIGNTYPE = SIGNTYPE;
    }
}
